package com.rory.tiny.modules.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rory.tiny.modules.pms.dto.request.ProvinceSelectRequestDTO;
import com.rory.tiny.modules.pms.dto.response.ProvinceSelectResponseDTO;
import com.rory.tiny.modules.pms.model.PmsProvinceSelect;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author rory
 * @since 2022-12-27
 */
public interface PmsProvinceSelectService extends IService<PmsProvinceSelect> {

	/**
	 * 新增省份选择次数数据
	 *
	 * @param pmsProvinceSelect
	 * @return
	 * @author zhangzedi
	 * @date 2022/12/27 23:03
	 */
	int insert(PmsProvinceSelect pmsProvinceSelect);

	/**
	 * 省份选择
	 *
	 * @param dto
	 * @return {@link int}
	 * @author zhangzedi
	 * @date 2022/12/27 23:09
	 */
	long select(ProvinceSelectRequestDTO dto);

	/**
	 * 查询热门身份
	 *
	 * @param
	 * @return
	 * @author zhangzedi
	 * @date 2022/12/27 23:13
	 */
	List<ProvinceSelectResponseDTO> queryHotArea();
}
